﻿<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <title>gaode</title>
    <link rel="stylesheet" href="http://cache.amap.com/lbs/static/main1119.css"/>
    <link rel="stylesheet" href="http://cache.amap.com/lbs/static/main.css?v=1.0?v=1.0"/>
	<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key=your_own_key"></script>
<style>
	#container{height:95%;width:100%;}
	#cust_var {position:absolute;bottom:0px;width:100%;height:5%; overflow: hidden; margin:0;}
</style>

</head>
<body>
<div id="container"></div>

<script>
	var layer_std = new AMap.TileLayer(); 

    var map = new AMap.Map('container', {
        resizeEnable: true,
        zoom:16,
        layers: [
            layer_std
        ],
        center: [116.39149, 39.922948]
        
    });



/*mengban
    var Layer_m = new AMap.TileLayer({
       zIndex:9,
       getTileUrl: function(x,y,z){
		  return 'tiles/tile.jpg'; 
       }
    });
	map.remove(layer_std);
    Layer_m.setMap(map);
mengban*/

    var tilerLayer = new AMap.TileLayer({
       zIndex:10,
       getTileUrl: function(x,y,z){
		  //return /*dir*/'tiles/' + z + '/' + x + '_' + y + '.png'; 
		  return /*dir*/'tiles/' + z + '/' + x + '_' + y + '.png'; 
       }
    });
	tilerLayer.setMap(map);

	//markerinfo_t
	//markerinfo_b

	//getpoi_t
	//getpoi_b

</script>
</body>
</html>
